package com.jinglin.mapper;

import com.jinglin.entity.po.VideoPlayHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 视频播放历史 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-04-03
 */
public interface VideoPlayHistoryMapper extends BaseMapper<VideoPlayHistory> {

    int count(String userId);

    List<VideoPlayHistory> loadHistoryList(int start, Integer pageSize, String userId);
}
